<table class="table-grid">
    <thead>
        <tr>
            <th class="col-idx"><a href="#" class="btn-arrowstop lnk-multiple" onclick="">&nbsp;</a></th>
    <if condition="$isSuperAdmin">
        <th>租户ID</th>
    </if>
    <th>订单编号</th>
    <th>订单摘要</th>
    <th>座席工号/姓名</th>
    <th>收货人</th>
    <th>联系电话</th>
    <th>收货地址</th>
    <th>运费金额</th>
    <th>商品金额</th>
    <th>订单金额</th>
    <th>订单支付方式</th>
    <th>运费支付方式</th>
    <th>物流名称</th>
    <th>是否开票</th>
    <th>订单状态</th>
    <th>下单时间</th>
    <th>核单时间</th>
    <th>发货时间</th>
    <th>最后物流时间</th>
    <th>操作</th>
</td></tr>
</thead>
<tbody>
<foreach name="list" item="vo">
    <tr data-key="{$vo.id}">
        <td>{$key}</td>
    <if condition="$isSuperAdmin">
        <td>{$vo.vo.siteID}</td>
    </if>
    <td>{$vo.serialNo}</td>
    <td title="{$vo.summary}"><div class="notbreakline-ellipsis">{$vo.summary}</div></td>
    <td>{$vo.sellerUserName/sellerPersonalName}</td>
    <td title="{$vo.consigneeSerialNo}">{$vo.consigneeName}</td>
    <td>{$vo.consigneeTelphone}</td>
    <td title="{$vo.consigneeAddress}"><div class="notbreakline-ellipsis">{$vo.consigneeAddress}</div></td>
    <td>{$vo.deliveryFee}</td>
    <td>{$vo.productAmount}</td>
    <td>{$vo.orderAmount}</td>
    <td>{$vo.orderPaymentName}</td>
    <td>{$vo.deliveryFeePaymentName}</td>
    <td>{$vo.logisticsName}</td>
    <td>{$vo.invoiceNeed|sofn_get_state_text='yes-no',###}</td>
    <td>{$vo.state|get_order_state_text='xcallcrm',###}</td>
    <td>{$vo.createdTime}</td>
    <td>{$vo.confirmTime}</td>
    <td>{$vo.logisticsTime}</td>
    <td>{$vo.logisticsLastTime}</td>
    <td class="no-padding">
        <a href="{:U('Order/order_view','id='.$vo['id'])}" class="button lnk-edit">查看</a>
    <if condition="$upr['编辑订单']">
        <a href="{:U('Order/order_edit','id='.$vo['id'])}" class="btn-edit lnk-edit">编辑</a>
    </if>        
    <if condition="$upr['删除订单']">
        <a href="{:U('Order/order_delete','id='.$vo['id'])}" class="btn-minus lnk-confirm">删除</a>
    </if>
    <if condition="$upr['审核订单']">
        <a href="{:U('Order/order_confirm','id='.$vo['id'])}" class="btn-edit lnk-edit">审核</a>
    </if>
    </td>
    </td></tr>
</foreach>
</tbody>
</table>
{$pager}
